package com.freesky.biz.rights.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.freesky.biz.rights.domain.EncryptBatchEntity;
import com.freesky.biz.rights.domain.EncryptCodeEntity;
import com.freesky.biz.rights.domain.RightsActivityEntity;
import com.freesky.biz.rights.pojo.EncryptCodePo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IEncryptBatchService extends IService<EncryptBatchEntity> {

    boolean checkBatchNameUnique(EncryptBatchEntity entity);
    Page selectEncryptBatchPage(Page page,EncryptBatchEntity entity);
    List<EncryptBatchEntity> selectEncryptBatchList(EncryptBatchEntity entity);
    int addEncryptBatch(EncryptBatchEntity entity);
    public int deleteBatchByIds(String[] ids);

    /**
     * 券码查看及导出
     * @param page
     * @param entity
     * @return
     */
    Page selectEncrypCodePage(Page page, EncryptCodePo entity);

    List<EncryptCodePo> selectEncrypCodePage(EncryptCodePo entity);

}
